using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsMaterialrequirementdetailEntity : EntityBase
	{
		public BsMaterialrequirementdetailTable TableSchema
		{
			get
			{
				return (BsMaterialrequirementdetailTable)_tableSchema;
			}
		}

		public BsMaterialrequirementdetailEntity()
		{
			_tableSchema = BsMaterialrequirementdetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? MaterialRequirementDetailID
		{

			
			get{ return GetData<Decimal>(BsMaterialrequirementdetailTable.C_MATERIALREQUIREMENTDETAILID); }
			
			
			set{ SetData(BsMaterialrequirementdetailTable.C_MATERIALREQUIREMENTDETAILID, value); }
		}

		
		public String MaterialRequirementID
		{

							
			get{ return Convert.ToString(GetData(BsMaterialrequirementdetailTable.C_MATERIALREQUIREMENTID));} 

			
			set{ SetData(BsMaterialrequirementdetailTable.C_MATERIALREQUIREMENTID, value); }
		}

		
		public Decimal? PlanDetailID
		{

			
			get{ return GetData<Decimal>(BsMaterialrequirementdetailTable.C_PLANDETAILID); }
			
			
			set{ SetData(BsMaterialrequirementdetailTable.C_PLANDETAILID, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsMaterialrequirementdetailTable.C_MATERIALID));} 

			
			set{ SetData(BsMaterialrequirementdetailTable.C_MATERIALID, value); }
		}

		
		public Decimal? AdviseNum
		{

			
			get{ return GetData<Decimal>(BsMaterialrequirementdetailTable.C_ADVISENUM); }
			
			
			set{ SetData(BsMaterialrequirementdetailTable.C_ADVISENUM, value); }
		}

		
		public Decimal? PieceNum
		{

			
			get{ return GetData<Decimal>(BsMaterialrequirementdetailTable.C_PIECENUM); }
			
			
			set{ SetData(BsMaterialrequirementdetailTable.C_PIECENUM, value); }
		}

		
		public Decimal? Weight
		{

			
			get{ return GetData<Decimal>(BsMaterialrequirementdetailTable.C_WEIGHT); }
			
			
			set{ SetData(BsMaterialrequirementdetailTable.C_WEIGHT, value); }
		}

		
		#endregion
	}
}

